aboutsummaryrefslogtreecommitdiff
path: root/src/routes/grocery/[id]/+page.svelte
Commit message (Collapse)AuthorAge
* Consolidate duplicated page CSS into app.css, share TestDb typeMartin Kagamino Lehoux2026-09-08
| | | | | | | | | | | | | - Move .page-header/.back-link/.input-invalid/.save-status/.btn-done (plus hover/variant rules) into app.css as shared route scaffolding; delete per-page scoped copies - Unify drifted values: page-header padding 1rem -> 1.25rem (routine page), empty-state spacing 0.75/1.5rem -> 1/2rem (grocery detail), save-status margin -0.25rem applied on both pages, back-link margin 1.5rem -> 1rem (grocery detail); routine page's large Fait button is kept via a .btn-done-lg modifier - Export TestDb from test-helper and use it in the five db/service test files to shrink duplicated fixture scaffolding
* fix: eliminate Svelte state_referenced_locally build warningsMartin Kagamino Lehoux2026-07-29
|
* fix: prevent layout shift when save confirmation appearsMartin Kagamino Lehoux2026-07-29
|
* feat: auto-save item name/category on blur, remove explicit save buttonMartin Kagamino Lehoux2026-07-28
|
* fix: adding a ref no longer triggers the Enregistré timeoutMartin Kagamino Lehoux2026-07-28
|
* fix: sticky form and navbar layout with consistent nav-heightMartin Kagamino Lehoux2026-07-28
|
* fix: redirect to origin page after deleting an itemMartin Kagamino Lehoux2026-07-28
|
* feat: oklch color palette and PWA install supportMartin Kagamino Lehoux2026-07-28
|
* fix: prevent form reset after update and show feedbackMartin Kagamino Lehoux2026-07-28
|
* feat: editable name and category in grocery detail pageMartin Kagamino Lehoux2026-07-28
|
* refactor: services layer, valibot validation, shared CSS utilities, aria ↵Martin Kagamino Lehoux2026-07-28
| | | | | | | | | | | | | | labels, and drizzle migrate - Extract groceries/categories/references services with db injection - Add valibot for form validation and safe numeric id parsing - Fix category delete FK behavior with onDelete: set null + migration - Replace custom migrate.js with drizzle-orm/libsql/migrator - Add shared CSS utility classes in app.css (forms, lists, buttons) - Add aria-pressed and aria-label on interactive elements - Remove redundant app.css imports and unused /stores import - Add integration tests for all services using drizzle migrate helper - Remove smoke test; add db:migrate and db:studio scripts
* feat: warm redesign, full French localization, compact sticky form, fixed ↵Martin Kagamino Lehoux2026-07-28
| | | | row heights, and show quality score in list
* refactor: rename brand to reference everywhereMartin Kagamino Lehoux2026-07-27
|
* feat: product references + grocery detail pageMartin Kagamino Lehoux2026-07-27
- references table (brand, price, unit, quality_score) with FK to groceries - /grocery/[id] page for managing references per item - Unit dropdown (€/kg, €/L, €/u) defaulting to €/kg - → link on all items navigates to detail page - Delete item moved from catalog to detail page